ref(onboarding): Persist project details form state in onboarding context#113128
Merged
ref(onboarding): Persist project details form state in onboarding context#113128
Conversation
This was referenced Apr 15, 2026
…text Add projectDetailsForm to the onboarding session state so the SCM project details step can restore the user's previous inputs (name, team, alert config) when navigating back from setup-docs. This mirrors the pattern used by createProject.tsx which persists form state to localStorage for the same purpose.
f1ef345 to
63dffeb
Compare
evanpurkhiser
approved these changes
Apr 16, 2026
Stale projectDetailsForm could pre-fill the SCM project details step after the user navigated back through platform features and picked a different platform. Reset the form alongside the feature reset at each platform-change site in scmPlatformFeatures so downstream state does not leak across selections. Drop the now-redundant platform field from ProjectDetailsFormState; it was added to detect this case but was never read.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
projectDetailsFormto the onboarding session state so the SCM project details step can restore the user's previous inputs (name, team, alert config, platform) when navigating back from setup-docs.PR stack: